
!!! 1.1

%html
  %head
    - @page_title ||= "Rails Job Board -- To find jobs or post jobs on rails. Free!"[:site_title]
    %title= @page_title
    = stylesheet_link_tag 'default'
    = stylesheet_link_tag 'form'
    = stylesheet_link_tag 'errors'
    = stylesheet_link_tag 'stickies'
    = javascript_include_tag :defaults
    %meta{'http-equiv' => "Content-Type", 'content' => "application/xhtml+xml; charset=UTF-8" }/
    %meta{:name => "description", :content => "Describe"[:meta_describe]}/
    %meta{:name => "keywords", :content => "Key words"[:meta_key_words]}/
  %body
    #container
      #head
        %h3= link_to('Job on Rails'[], home_url)
        %p= "Job board for Ruby on Rails"[:secondary_title]
        %ul
          - logged_in do
            %li= link_to 'Jobs posted by me'[], current_user
            %li= link_to 'Log out'[], logout_path
          %li= link_to 'English', home_path(:locale => 'en')
          %li= link_to '中文', home_path(:locale => 'zh')
        %br/
      #content
        = render_stickies
        = @content_for_layout
      #footer
        = 'Copyright'[]
        = link_to "Bin Dong", 'http://www.dongbin.org'
        %a{ :href => "/about.html"} About
        = " | " + 'Feedback'[]+":"
        %a{:href => "mailto:dongbin.cn@gmail.com"} dongbin.cn at gmail.com

